package cn.bocweb.spinning.model.Bean;

import java.util.List;

/**
 * Created by chenchangxing on 16/2/23.
 */
public class TrainRandomStartBean {


    /**
     * msg : 获取成功
     * return_code : 0
     * data : {"id":"12728","title":"管纱线或筒子纱线的取样，每批量在2t及以下，每0.2t取样一个，但不得少于（  ）个，批量在2t以上，其超过2t的部分，每（）取一个，取样应随机均匀，并注意生产班次的代表性。","right":"2","option":["5    0.1t","6    0.5t","7    1t","8    2t"],"ttype":"1"}
     * total : 42
     * record : {"personrate":"100","ok_times":"0","wrong_times":"2","isCollect":0,"allrate":"37.3","explain":""}
     */

    private String msg;
    private int return_code;
    /**
     * id : 12728
     * title : 管纱线或筒子纱线的取样，每批量在2t及以下，每0.2t取样一个，但不得少于（  ）个，批量在2t以上，其超过2t的部分，每（）取一个，取样应随机均匀，并注意生产班次的代表性。
     * right : 2
     * option : ["5    0.1t","6    0.5t","7    1t","8    2t"]
     * ttype : 1
     */

    private DataBean data;
    private int total;
    /**
     * personrate : 100
     * ok_times : 0
     * wrong_times : 2
     * isCollect : 0
     * allrate : 37.3
     * explain :
     */

    private RecordBean record;

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public int getReturn_code() {
        return return_code;
    }

    public void setReturn_code(int return_code) {
        this.return_code = return_code;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public int getTotal() {
        return total;
    }

    public void setTotal(int total) {
        this.total = total;
    }

    public RecordBean getRecord() {
        return record;
    }

    public void setRecord(RecordBean record) {
        this.record = record;
    }

    public static class DataBean {
        private String id;
        private String title;
        private List<String> right;
        private String ttype;
        private List<String> option;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }



        public String getTtype() {
            return ttype;
        }

        public void setTtype(String ttype) {
            this.ttype = ttype;
        }

        public List<String> getOption() {
            return option;
        }

        public void setOption(List<String> option) {
            this.option = option;
        }

        public List<String> getRight() {
            return right;
        }

        public void setRight(List<String> right) {
            this.right = right;
        }
    }

    public static class RecordBean {
        private String personrate;
        private String ok_times;
        private String wrong_times;
        private String isCollect;
        private String allrate;
        private String explain;

        public String getPersonrate() {
            return personrate;
        }

        public void setPersonrate(String personrate) {
            this.personrate = personrate;
        }

        public String getOk_times() {
            return ok_times;
        }

        public void setOk_times(String ok_times) {
            this.ok_times = ok_times;
        }

        public String getWrong_times() {
            return wrong_times;
        }

        public void setWrong_times(String wrong_times) {
            this.wrong_times = wrong_times;
        }

        public String getIsCollect() {
            return isCollect;
        }

        public void setIsCollect(String isCollect) {
            this.isCollect = isCollect;
        }

        public String getAllrate() {
            return allrate;
        }

        public void setAllrate(String allrate) {
            this.allrate = allrate;
        }

        public String getExplain() {
            return explain;
        }

        public void setExplain(String explain) {
            this.explain = explain;
        }
    }
}
